<?

/*
 * 是否开启开发状态
 */
define('develop', true);
//define('develop', FALSE);

/*
 * 是否开启 URL Rewrite
 */
define('url_rewrite', false);

/**
 * 错误页面
 */
define('error_page_url', "/404.html");

/*
 * url根目录配置
 */
define('url_prefix_www', 'http://www.baihuilong.com/');
define('url_prefix_admin', 'http://admin.baihuilong.com/');
define('url_prefix_static', 'http://static.baihuilong.com/');
define('url_prefix_upload', 'http://upload.baihuilong.com/');

/*
 * 子项目目录配置
 */
define('path_prefix', realpath(dirname($_SERVER['SCRIPT_FILENAME']) . '/../') . '/');
define('path_prefix_application', path_prefix . 'application/');
define('path_prefix_www', path_prefix . 'www/');
define('path_prefix_admin', path_prefix . 'admin/');
define('path_prefix_static', path_prefix . 'static/');
define('path_prefix_upload', path_prefix . 'upload/');

require 'database.php';

?>